﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net;

namespace HaiHui
{
    class UserInstance
    {
        public string Email { get; set; }
        public string Password { get; set; }
        public bool IsLoggedIn { get; set; }
        public CookieContainer CookieContainer { get; set; }

        private UserInstance() { }

        private static UserInstance m_Instance;

        public static UserInstance Instance
        {
            get 
            {
                if (m_Instance == null)
                    m_Instance = new UserInstance();

                return UserInstance.m_Instance; 
            }
        }
    }
}
